import request from '@/sheep/request';

const teamApi = {
	/**
	 * @description 获得我邀请的团队下级
	 * @param {Object} data
	 */
	getMyInvitation: (data) => {
		return request({
			url: '/sys/user/getMyInvitation',
			method: 'GET',
			data,
		})
	},

	/**
	 * @description 获得我的团队数据
	 * @param {Object} data
	 */
	getMyInvitationData: (data) => {
		return request({
			url: '/sys/user/getMyInvitationData',
			method: 'GET',
			data,
		})
	},
	/**
	 * @description 获得邀请我的用户
	 * @param {Object} data
	 */
	getInvitationMy: (data) => {
		return request({
			url: '/sys/user/getInvitationMy',
			method: 'GET',
			data,
		})
	},

}
export default teamApi;